//引入mock模块
import Mock from 'mockjs';
//引入js数据
import banner from './banner.json'
import floor from './floor.json'

//mock第一个数据请求地址 第二个参数数据
Mock.mock("/mock/banner",{code:200,data:banner});
Mock.mock("/mock/floor",{code:200,data:floor});